package cn.yunhe.dao;

import cn.yunhe.pojo.Board;

import java.util.List;

public interface BoardMapper {
    /**
     * 添加板块
     * @param board
     * @return
     */
    int addBoard(Board board);

    /**
     * 查询所有板块
     * @return
     */
    List<Board> getAllBoard();
}
